﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;


namespace BCGM.MedicalWisdom.Model.Models.SecondKill
{
    ///<summary>
    ///秒杀商品关系
    ///</summary>
    [SugarTable("SckillIdGoods", "WMBLOG_MYSQL")]
    public class SckillIdGoods
    {
        public SckillIdGoods()
        {
        }
        /// <summary>
        /// Desc:秒杀商品关系Id
        /// Default:
        /// Nullable:False
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int SckillIdGoodId { get; set; }
        /// <summary>
        /// Desc:秒杀活动Id
        /// Default:
        /// Nullable:False
        /// </summary>
        public int Seckillid { get; set; }
        /// <summary>
        /// Desc:商品Id
        /// Default:
        /// Nullable:False
        /// </summary>
        public int GoodsId { get; set; }
        /// <summary>
        /// Desc:是否删除
        /// Default:b'0'
        /// Nullable:False
        /// </summary>
        public bool IsDelete { get; set; } = false;
        /// <summary>
        /// Desc:创建时间
        /// Default:
        /// Nullable:False
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;
    }
}